import { get, post } from "../utils/http";

export const getTestParams = (params: IAnyObject = {}) => {
  return get<{ name: string; id: string }[]>("/test/get/params", params);
};

export const postTestParams = (data: IAnyObject = {}) => {
  return post<{ name: string; id: string }>("/test/post/data", data);
};
